package com.yida.gwj.api.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @Description 公维金基础数据初始化配置信息
 * @Author wws
 * @Date 2023-04-03
 */
@ApiModel("公维金基础数据初始化配置信息")
public class GwjInitConfigDTO {

    @ApiModelProperty("配置名称")
    private String configName;

    @ApiModelProperty("IP地址")
    private String ipUrl;

    @ApiModelProperty("厂商主键")
    private Long companyId;

    @ApiModelProperty("公钥")
    private String publicKey;

    @ApiModelProperty("私钥")
    private String privateKey;


    @ApiModelProperty("接口名称")
    private String interfaceName;

    @ApiModelProperty("厂商数据对接主键")
    private Long companyInputParamsId;

    @ApiModelProperty("接口URI")
    private String interfaceUri;


    public String getConfigName() {
        return configName;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public String getIpUrl() {
        return ipUrl;
    }

    public void setIpUrl(String ipUrl) {
        this.ipUrl = ipUrl;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getInterfaceUri() {
        return interfaceUri;
    }

    public void setInterfaceUri(String interfaceUri) {
        this.interfaceUri = interfaceUri;
    }

    public Long getCompanyInputParamsId() {
        return companyInputParamsId;
    }

    public void setCompanyInputParamsId(Long companyInputParamsId) {
        this.companyInputParamsId = companyInputParamsId;
    }

    public GwjInitConfigDTO(String configName, String ipUrl, Long companyId, String publicKey, String privateKey, String interfaceName, Long companyInputParamsId, String interfaceUri) {
        this.configName = configName;
        this.ipUrl = ipUrl;
        this.companyId = companyId;
        this.publicKey = publicKey;
        this.privateKey = privateKey;
        this.interfaceName = interfaceName;
        this.companyInputParamsId = companyInputParamsId;
        this.interfaceUri = interfaceUri;
    }

    public GwjInitConfigDTO() {
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjInitConfigDTO{");
        sb.append("configName='").append(configName).append('\'');
        sb.append(", ipUrl='").append(ipUrl).append('\'');
        sb.append(", companyId=").append(companyId);
        sb.append(", publicKey='").append(publicKey).append('\'');
        sb.append(", privateKey='").append(privateKey).append('\'');
        sb.append(", interfaceName='").append(interfaceName).append('\'');
        sb.append(", interfaceUri='").append(interfaceUri).append('\'');
        sb.append(", companyInputParamsId=").append(companyInputParamsId);
        sb.append('}');
        return sb.toString();
    }
}
